package com.itheima.mapper;

import com.itheima.dto.SysUserLoginDTO;
import com.itheima.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author iTaotao
 * @date 2023/7/26 1:02
 * @desciption: 用户登录
 */
@Mapper
public interface UserLoginMapper {
    @Select("select * from sys_user where login_name = #{loginName}")
    SysUser seleteSysUserByLoginNameAndPassword(String loginName);
}
